package com.chy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chy.common.R;
import com.chy.entity.Article;

import java.util.List;
import java.util.Map;

public interface ArticleService extends IService<Article> {
    R<String> addArticle(Map<String, Object> params);

    R<String> updateArticle(Map<String, Object> params);

    R<String> deleteArticle(List<Map<String, Object>> params);

    Page selectByPage(Map<String, Object> params);

    R<Object> getArtById(Map<String, Object> params);
}
